package com.hc.tenant.domain;

import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.hc.common.core.annotation.Excel;
import com.hc.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 坐标管理对象 t_location
 * 
 * @author yongjianz
 * @date 2021-03-26
 */
public class Location extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long locationId;

    /** 地点名称 */
    @Excel(name = "地点名称")
    private String locationName;

    /** x轴坐标 */
    @Excel(name = "x轴坐标")
    private BigDecimal xAxes;

    /** y轴坐标 */
    @Excel(name = "y轴坐标")
    private BigDecimal yAxes;

    /** 朝向方位（0-360） */
    @Excel(name = "朝向方位", readConverterExp = "0=-360")
    private BigDecimal orientation;

    /** $column.columnComment */
    @JsonIgnore
    private Integer delFlag;

    public void setLocationId(Long locationId) 
    {
        this.locationId = locationId;
    }

    public Long getLocationId() 
    {
        return locationId;
    }
    public void setLocationName(String locationName) 
    {
        this.locationName = locationName;
    }

    public String getLocationName() 
    {
        return locationName;
    }
    public void setxAxes(BigDecimal xAxes) 
    {
        this.xAxes = xAxes;
    }

    public BigDecimal getxAxes() 
    {
        return xAxes;
    }
    public void setyAxes(BigDecimal yAxes) 
    {
        this.yAxes = yAxes;
    }

    public BigDecimal getyAxes() 
    {
        return yAxes;
    }
    public void setOrientation(BigDecimal orientation) 
    {
        this.orientation = orientation;
    }

    public BigDecimal getOrientation() 
    {
        return orientation;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("locationId", getLocationId())
            .append("locationName", getLocationName())
            .append("xAxes", getxAxes())
            .append("yAxes", getyAxes())
            .append("orientation", getOrientation())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .toString();
    }
}
